/**
 * Created by peter on 2017/7/5.
 */
const WebAppIndex = resolve => {require(['../../components/WebApp.vue'], resolve)}
const ArticleManageMain = resolve => require(['../../components/article_manage/ArticleManageMain'], resolve);
const ArticleForm = resolve => require(['../../components/article_manage/ArticleForm'], resolve);
const ArticleDetails = resolve => require(['../../components/article_manage/ArticleDetails'], resolve);

const Article_router = {
    path: '/article',component: WebAppIndex,
    children : [
        {path: 'main', component: ArticleManageMain},
        {path: 'form', component: ArticleForm},
        {path: 'details', component: ArticleDetails}
    ]
}

export default Article_router;